//
// Created by 张祎鹤严 on 2022/11/28.
//

#ifndef _BSP_CAN_H
#define _BSP_CAN_H

#include "can.h"
#include "cmsis_os2.h"
#include "task_lostcounter.h"

#define ENABLE_CAN_SEND 1

void CAN1_Filter_Init(void);
void CAN2_Filter_Init(void);
uint8_t CAN1_Send_Msg(uint8_t* msg, uint8_t len, uint32_t id);
uint8_t CAN2_Send_Msg(uint8_t* msg, uint8_t len, uint32_t id);

#endif //_BSP_CAN_H
